package com.xiaoyu.lib_av.listener

import com.xiaoyu.lib_av.datamodel.message.AVRoomMessage
import com.xiaoyu.lib_av.manager.AVRoomManager

interface IAVRoomLifecycleListener {

    fun onMessageSend(message: AVRoomMessage)

    fun onMessageReceive(message: AVRoomMessage)

    fun onPositionChange(isAudience: Boolean)

    fun onJoinChannelSuccess(uid:Int)

    fun onConnectionStateChanged(state: Int, reason: Int)

    fun onAnnouncerJoin(fuid: String)

    fun onAnnouncerLeave(targetUid: String)

    fun onAudioDeviceChanged(headset: Boolean)

    fun onNetStatusReported(good: Boolean, uid: String)

    fun updateMemberCount(memberCount: Int)

    fun onAudioVolumeChange(audioVolumeIndicatorList: MutableList<AVRoomManager.Companion.AudioVolumeIndicator>?, isSelf: Boolean)
}